package com.gismore.demo.dagger;

import lombok.extern.log4j.Log4j2;

@Log4j2
public class Heater {
	private Boolean isHot;

	public void on(){
		log.info("开始烧开水啦");
		this.isHot = true;
	}
	public void off(){
		log.info("关闭加热器");
		this.isHot = false;
	}

	public Boolean isHot() {
		return isHot;
	}
}
